package com.njtoyo.taxi.admin.mapper.master.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.RideMarkingTag;
import com.njtoyo.taxi.admin.rest.presenter.business.ride.marking.RideMarkingTagData;
import com.njtoyo.taxi.admin.rest.presenter.business.ride.marking.TagTitleData;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2021-11-22
 */
@Repository
@DS(Const.PRIMARY_DS)
public interface RideMarkingTagMapper extends BaseMapper<RideMarkingTag> {
    //获取评价标签
    List<RideMarkingTagData> selectTags(List<Long> ids);

    List<TagTitleData> selectTagTitle(List<Long> ids);

    Long[] selectTag(Long id);

}
